Sorry guys,
I am really embarrassed. I was testing my code too close to X+ end switch that is why I got the error message. Code is running well, just uploading video to Youtube so I will post a link when ready.
Only thing that I can see is that the Z axis movement stops before the spindle and Z starts moving before spindle starts rotating. Lucky I have a floating tapping head with at least 5mm travel.
Video link soon
Cheers
Bengt
--- In mailto:DynoMotion%40yahoogroups.com, "today 7" <brotroy7@...> wrote:
>
> Hello Bengt,
> Not sure, but did you try to increase the "Windows Buffer ahead time" in the plugin for Mach3? Increasing this will also delay the reaction time when adjusting feed rate override.
>
> Troy
>
> --- In mailto:DynoMotion%40yahoogroups.com, "Bengt Sjölund" <cnc@> wrote:
> >
> > Hi Tom,
> >
> > As I have a job at hand with a lot of holes to be drilled and tapped I just tested the code to what works? I get to line 150 when I get a pop up saying Unexpected motionbuffer starved.
> >
> > What can be done to get things working?
> >
> > Cheers
> > Bengt
> >
> > N0000 (Filename: faceplate 1.tap)
> > N0010 (Post processor: Mach3.post)
> > N0020 (Date:2012-09-22 Time:19:07:03)
> > N0030 G21 (Units: Metric)
> > N0040 G40 G90 G91.1
> > N0050 F1
> > N0060 (Part: faceplate 1)
> > N0070 (Operation: Tap, H�L, T8: Rigid tap, 12 mm x 1 mm, 20 mm Deep)
> > N0080 S200 (Rigid tap, 12 mm x 1 mm)
> > N0090 T8 M06 G43 H8
> > N0100 G00 Z4.0000
> > N0110 S200 M03
> > N0120 M49
> > N0130 G95
> > N0140 M03
> > N0150 X110.0000 Y75.0000
> > N0160 Z1.0000
> > N0170 G01 Z-16.000 F1
> > N0180 M05
> > N0190 M04
> > N0200 Z1.000
> > N0210 M05
> >
>